
// 默认暴露
export default [
    {
        path : '/',
        redirect :  '/app/shouye'
    },
    {
        path : '/app',
        component : '@/pages/index',
        routes : [
            {
                path : '/app/shouye',
                name : '首页',
                component : '@/pages/shouye/Index.jsx',
            },
            {
                path : '/app/manage',
                name : '管理',
                component : '@/pages/manage/Index.jsx',
                routes : [
                    { path : '/app/manage/nrmanage' , name : '内容管理' , component : '@/pages/manage/nrmanage'},
                    { path : '/manage/plmanage' , name : '评论管理' , component : '@/pages/manage/plmanage'},
                    { path : '/manage/zlmanage' , name : '专栏管理' , component : '@/pages/manage/zlmanage'},
                ]
            },
            {
                path : '/app/data',
                name : '数据',
                component : '@/pages/data/Index.jsx'
            },
            {
                path : '/app/activities',
                name : '创作活动',
                component : '@/pages/activities/Index.jsx'
            },
            {
                path : '/app/equity',
                name : '创作权益',
                component : '@/pages/equity/Index.jsx'
            },
            {
                path : '/app/tool',
                name : '工具',
                component : '@/pages/tool/Index.jsx'
                
            },
            {
                path : '/app/setup',
                name : '设置',
                component : '@/pages/setup/Index.jsx'
            },
        ]
    },
    {
        path : '/add',
        component :  '@/pages/add'
    },
    {
        component : '@/pages/404.jsx',
        name : '404页面'
    },
]